﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x02000CBF RID: 3263
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class OOPKDEMPMFI : IMessage<OOPKDEMPMFI>, IMessage, IEquatable<OOPKDEMPMFI>, IDeepCloneable<OOPKDEMPMFI>, IBufferMessage
	{
		// Token: 0x17002908 RID: 10504
		// (get) Token: 0x060091B3 RID: 37299 RVA: 0x00182B90 File Offset: 0x00180D90
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<OOPKDEMPMFI> Parser
		{
			get
			{
				return OOPKDEMPMFI._parser;
			}
		}

		// Token: 0x17002909 RID: 10505
		// (get) Token: 0x060091B4 RID: 37300 RVA: 0x00182B97 File Offset: 0x00180D97
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return OOPKDEMPMFIReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x1700290A RID: 10506
		// (get) Token: 0x060091B5 RID: 37301 RVA: 0x00182BA9 File Offset: 0x00180DA9
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return OOPKDEMPMFI.Descriptor;
			}
		}

		// Token: 0x060091B6 RID: 37302 RVA: 0x00182BB0 File Offset: 0x00180DB0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public OOPKDEMPMFI()
		{
		}

		// Token: 0x060091B7 RID: 37303 RVA: 0x00182BB8 File Offset: 0x00180DB8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public OOPKDEMPMFI(OOPKDEMPMFI other) : this()
		{
			this.kHGFEFMGGOF_ = other.kHGFEFMGGOF_;
			OOPKDEMPMFI.PJHGMIPIMDIOneofCase pjhgmipimdicase = other.PJHGMIPIMDICase;
			if (pjhgmipimdicase != OOPKDEMPMFI.PJHGMIPIMDIOneofCase.AGIICFFDNFC)
			{
				if (pjhgmipimdicase == OOPKDEMPMFI.PJHGMIPIMDIOneofCase.OGGLDGGMCIL)
				{
					this.OGGLDGGMCIL = other.OGGLDGGMCIL.Clone();
				}
			}
			else
			{
				this.AGIICFFDNFC = other.AGIICFFDNFC.Clone();
			}
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x060091B8 RID: 37304 RVA: 0x00182C1E File Offset: 0x00180E1E
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public OOPKDEMPMFI Clone()
		{
			return new OOPKDEMPMFI(this);
		}

		// Token: 0x1700290B RID: 10507
		// (get) Token: 0x060091B9 RID: 37305 RVA: 0x00182C26 File Offset: 0x00180E26
		// (set) Token: 0x060091BA RID: 37306 RVA: 0x00182C2E File Offset: 0x00180E2E
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint KHGFEFMGGOF
		{
			get
			{
				return this.kHGFEFMGGOF_;
			}
			set
			{
				this.kHGFEFMGGOF_ = value;
			}
		}

		// Token: 0x1700290C RID: 10508
		// (get) Token: 0x060091BB RID: 37307 RVA: 0x00182C37 File Offset: 0x00180E37
		// (set) Token: 0x060091BC RID: 37308 RVA: 0x00182C4F File Offset: 0x00180E4F
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public IGLIGFCGJOF AGIICFFDNFC
		{
			get
			{
				if (this.pJHGMIPIMDICase_ != OOPKDEMPMFI.PJHGMIPIMDIOneofCase.AGIICFFDNFC)
				{
					return null;
				}
				return (IGLIGFCGJOF)this.pJHGMIPIMDI_;
			}
			set
			{
				this.pJHGMIPIMDI_ = value;
				this.pJHGMIPIMDICase_ = ((value == null) ? OOPKDEMPMFI.PJHGMIPIMDIOneofCase.None : OOPKDEMPMFI.PJHGMIPIMDIOneofCase.AGIICFFDNFC);
			}
		}

		// Token: 0x1700290D RID: 10509
		// (get) Token: 0x060091BD RID: 37309 RVA: 0x00182C65 File Offset: 0x00180E65
		// (set) Token: 0x060091BE RID: 37310 RVA: 0x00182C7E File Offset: 0x00180E7E
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public HHIMDMKHFHG OGGLDGGMCIL
		{
			get
			{
				if (this.pJHGMIPIMDICase_ != OOPKDEMPMFI.PJHGMIPIMDIOneofCase.OGGLDGGMCIL)
				{
					return null;
				}
				return (HHIMDMKHFHG)this.pJHGMIPIMDI_;
			}
			set
			{
				this.pJHGMIPIMDI_ = value;
				this.pJHGMIPIMDICase_ = ((value == null) ? OOPKDEMPMFI.PJHGMIPIMDIOneofCase.None : OOPKDEMPMFI.PJHGMIPIMDIOneofCase.OGGLDGGMCIL);
			}
		}

		// Token: 0x1700290E RID: 10510
		// (get) Token: 0x060091BF RID: 37311 RVA: 0x00182C95 File Offset: 0x00180E95
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public OOPKDEMPMFI.PJHGMIPIMDIOneofCase PJHGMIPIMDICase
		{
			get
			{
				return this.pJHGMIPIMDICase_;
			}
		}

		// Token: 0x060091C0 RID: 37312 RVA: 0x00182C9D File Offset: 0x00180E9D
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void ClearPJHGMIPIMDI()
		{
			this.pJHGMIPIMDICase_ = OOPKDEMPMFI.PJHGMIPIMDIOneofCase.None;
			this.pJHGMIPIMDI_ = null;
		}

		// Token: 0x060091C1 RID: 37313 RVA: 0x00182CAD File Offset: 0x00180EAD
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as OOPKDEMPMFI);
		}

		// Token: 0x060091C2 RID: 37314 RVA: 0x00182CBC File Offset: 0x00180EBC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(OOPKDEMPMFI other)
		{
			return other != null && (other == this || (this.KHGFEFMGGOF == other.KHGFEFMGGOF && object.Equals(this.AGIICFFDNFC, other.AGIICFFDNFC) && object.Equals(this.OGGLDGGMCIL, other.OGGLDGGMCIL) && this.PJHGMIPIMDICase == other.PJHGMIPIMDICase && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x060091C3 RID: 37315 RVA: 0x00182D30 File Offset: 0x00180F30
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.KHGFEFMGGOF != 0U)
			{
				num ^= this.KHGFEFMGGOF.GetHashCode();
			}
			if (this.pJHGMIPIMDICase_ == OOPKDEMPMFI.PJHGMIPIMDIOneofCase.AGIICFFDNFC)
			{
				num ^= this.AGIICFFDNFC.GetHashCode();
			}
			if (this.pJHGMIPIMDICase_ == OOPKDEMPMFI.PJHGMIPIMDIOneofCase.OGGLDGGMCIL)
			{
				num ^= this.OGGLDGGMCIL.GetHashCode();
			}
			num ^= (int)this.pJHGMIPIMDICase_;
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x060091C4 RID: 37316 RVA: 0x00182DA7 File Offset: 0x00180FA7
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x060091C5 RID: 37317 RVA: 0x00182DAF File Offset: 0x00180FAF
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x060091C6 RID: 37318 RVA: 0x00182DB8 File Offset: 0x00180FB8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.pJHGMIPIMDICase_ == OOPKDEMPMFI.PJHGMIPIMDIOneofCase.AGIICFFDNFC)
			{
				output.WriteRawTag(10);
				output.WriteMessage(this.AGIICFFDNFC);
			}
			if (this.pJHGMIPIMDICase_ == OOPKDEMPMFI.PJHGMIPIMDIOneofCase.OGGLDGGMCIL)
			{
				output.WriteRawTag(98);
				output.WriteMessage(this.OGGLDGGMCIL);
			}
			if (this.KHGFEFMGGOF != 0U)
			{
				output.WriteRawTag(144, 47);
				output.WriteUInt32(this.KHGFEFMGGOF);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x060091C7 RID: 37319 RVA: 0x00182E38 File Offset: 0x00181038
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.KHGFEFMGGOF != 0U)
			{
				num += 2 + CodedOutputStream.ComputeUInt32Size(this.KHGFEFMGGOF);
			}
			if (this.pJHGMIPIMDICase_ == OOPKDEMPMFI.PJHGMIPIMDIOneofCase.AGIICFFDNFC)
			{
				num += 1 + CodedOutputStream.ComputeMessageSize(this.AGIICFFDNFC);
			}
			if (this.pJHGMIPIMDICase_ == OOPKDEMPMFI.PJHGMIPIMDIOneofCase.OGGLDGGMCIL)
			{
				num += 1 + CodedOutputStream.ComputeMessageSize(this.OGGLDGGMCIL);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x060091C8 RID: 37320 RVA: 0x00182EAC File Offset: 0x001810AC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(OOPKDEMPMFI other)
		{
			if (other == null)
			{
				return;
			}
			if (other.KHGFEFMGGOF != 0U)
			{
				this.KHGFEFMGGOF = other.KHGFEFMGGOF;
			}
			OOPKDEMPMFI.PJHGMIPIMDIOneofCase pjhgmipimdicase = other.PJHGMIPIMDICase;
			if (pjhgmipimdicase != OOPKDEMPMFI.PJHGMIPIMDIOneofCase.AGIICFFDNFC)
			{
				if (pjhgmipimdicase == OOPKDEMPMFI.PJHGMIPIMDIOneofCase.OGGLDGGMCIL)
				{
					if (this.OGGLDGGMCIL == null)
					{
						this.OGGLDGGMCIL = new HHIMDMKHFHG();
					}
					this.OGGLDGGMCIL.MergeFrom(other.OGGLDGGMCIL);
				}
			}
			else
			{
				if (this.AGIICFFDNFC == null)
				{
					this.AGIICFFDNFC = new IGLIGFCGJOF();
				}
				this.AGIICFFDNFC.MergeFrom(other.AGIICFFDNFC);
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x060091C9 RID: 37321 RVA: 0x00182F44 File Offset: 0x00181144
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x060091CA RID: 37322 RVA: 0x00182F50 File Offset: 0x00181150
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 10U)
				{
					if (num != 98U)
					{
						if (num != 6032U)
						{
							this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
						}
						else
						{
							this.KHGFEFMGGOF = input.ReadUInt32();
						}
					}
					else
					{
						HHIMDMKHFHG hhimdmkhfhg = new HHIMDMKHFHG();
						if (this.pJHGMIPIMDICase_ == OOPKDEMPMFI.PJHGMIPIMDIOneofCase.OGGLDGGMCIL)
						{
							hhimdmkhfhg.MergeFrom(this.OGGLDGGMCIL);
						}
						input.ReadMessage(hhimdmkhfhg);
						this.OGGLDGGMCIL = hhimdmkhfhg;
					}
				}
				else
				{
					IGLIGFCGJOF igligfcgjof = new IGLIGFCGJOF();
					if (this.pJHGMIPIMDICase_ == OOPKDEMPMFI.PJHGMIPIMDIOneofCase.AGIICFFDNFC)
					{
						igligfcgjof.MergeFrom(this.AGIICFFDNFC);
					}
					input.ReadMessage(igligfcgjof);
					this.AGIICFFDNFC = igligfcgjof;
				}
			}
		}

		// Token: 0x0400378C RID: 14220
		private static readonly MessageParser<OOPKDEMPMFI> _parser = new MessageParser<OOPKDEMPMFI>(() => new OOPKDEMPMFI());

		// Token: 0x0400378D RID: 14221
		private UnknownFieldSet _unknownFields;

		// Token: 0x0400378E RID: 14222
		public const int KHGFEFMGGOFFieldNumber = 754;

		// Token: 0x0400378F RID: 14223
		private uint kHGFEFMGGOF_;

		// Token: 0x04003790 RID: 14224
		public const int AGIICFFDNFCFieldNumber = 1;

		// Token: 0x04003791 RID: 14225
		public const int OGGLDGGMCILFieldNumber = 12;

		// Token: 0x04003792 RID: 14226
		private object pJHGMIPIMDI_;

		// Token: 0x04003793 RID: 14227
		private OOPKDEMPMFI.PJHGMIPIMDIOneofCase pJHGMIPIMDICase_;

		// Token: 0x02001B4B RID: 6987
		public enum PJHGMIPIMDIOneofCase
		{
			// Token: 0x04006696 RID: 26262
			None,
			// Token: 0x04006697 RID: 26263
			AGIICFFDNFC,
			// Token: 0x04006698 RID: 26264
			OGGLDGGMCIL = 12
		}
	}
}
